package com.douqu.game.core.factory;

/**
 * Created by bean on 2017/9/26.
 */
public class WordFactory {

    /**
     * //卡片升级返回消息
     NOTIFY_TYPE_IN_BATTLE         			= 1051;   	//战斗中不允许升级
     NOTIFY_TYPE_CARD_BAG_ISNULL 			= 1052;  	//背包为空
     NOTIFY_TYPE_CARD_ISNULL  				= 1053; 	//兵种信息为空
     NOTIFY_TYPE_CARDLV_ISNULL 				= 1054; 	//兵种等级配置为空
     NOTIFY_TYPE_CARDQUALITY_ISNULL  		= 1055; 	//卡片属性配置为空
     NOTIFY_TYPE_NEEDPROP_ISNULL 			= 1056;  	//资源为空
     NOTIFY_TYPE_PROPCOUNT_LACK  			= 1057;  	//升级卡片的碎片数量不够
     NOTIFY_TYPE_ASSET_LACK 				= 1058; 	//升级卡片的金币不够
     NOTIFY_TYPE_CARD_TEAM_ISNULL            = 1059; 	//卡组为空
     NOTIFY_TYPE_CARD_TEAM_ID_ISNULL         = 1060; 	//卡组索引错误

     NOTIFY_TYPE_CRYSTAL_ERROR               = 2001;     //水晶不够
     NOTIFY_TYPE_CD_TIME_ERROR               = 2002;     //CD时间未到
     NOTIFY_TYPE_SKILL_NOT_EXIST             = 2003;     //技能不存在
     NOTIFY_TYPE_SKILL_TYPE_ERROR            = 2004;     //技能类型错误
     NOTIFY_TYPE_CARD_NOT_EXSIT              = 2005;     //卡牌不存在

     NOTIFY_TYPE_GOODS_COUNT_ERROR 			= 3001;		//物品数量错误
     NOTIFY_TYPE_GOODS_NOT_EXIST				= 3002;		//物品不存在
     NOTIFY_TYPE_INSUFFICIENT_BACKPACK_SPACE = 3003;     //背包空间不足

     NOTIFY_TYPE_INSTANCE_INFO_MAP_UNLOCK	= 6001;  //地图未解锁
     NOTIFY_TYPE_REWARD_ALREDY_REWARD		= 6002;  //已经领取过了
     NOTIFY_TYPE_LEVEL_NO_REWARD		        = 6003;  //关卡没有该奖励
     NOTIFY_TYPE_CONDITION_NOT_MATCH	        = 6004;  //条件不满足
     */
    /** 战斗服务器异常 */
    public final static String BATTLE_SERVER_ERROR = "battle_server_error";
    /** 你的账号已在其它地方登录 */
    public final static String OTHER_LOGIN = "other_login";
    /** 你的账号已被冻结 */
    public final static String LOCK_ACCOUNT = "lock_account";
    /** 非法请求 */
    public final static String ILLEGAL_ERROR = "illegal_error";
    /** 参数错误 */
    public final static String PARAM_ERROR = "param_error";
    /** 数据异常,请稍后再试 */
    public final static String SERVER_DATA_ERROR = "server_data_error";
    /** 你的XX(资源)不足够哦 */
    public final static String ASSET_NOT_ENOUGH = "asset_not_enough";
    /** 你的XX(物品)不足够哦 */
    public final static String GOODS_NOT_ENOUGH = "goods_not_enough";
    /** 战斗中不允许进行此操作 */
    public final static String BATTLING_NOT_ALLOW = "battling_not_allow";
    /** 此对象不存在 */
    public final static String OBJECT_NOT_EXIST = "object_not_exist";
    /** CD时间未到 */
    public final static String CD_TIME_ERROR = "cd_time_error";
    /** 你已领取过此奖励 */
    public final static String GET_REWARD_ED = "get_reward_ed";
    /** 地图未解锁 */
    public final static String MAP_NOT_UNLOCK = "map_not_unlock";
    /** 已经升级到最高等级了 */
    public final static String LV_MAX_ERROR = "lv_max_error";
    /** 你还没有获得此卡 */
    public final static String CARD_NOTHING_ERROR = "card_nothing_error";
    /** 此宝箱没有奖励可领取 */
    public final static String BOX_NOTHING_REWARD = "box_nothing_reward";
    /** 领取条件不满足 */
    public final static String CONDITION_ERROR = "condition_error";
    /** 能量不够 */
    public final static String ENERGY_NOT_ENOUGH = "energy_not_enough";
    /** 你没有这个技能 */
    public final static String SKILL_NOT_EXIST = "skill_not_exist";


    public static String getWord(String key, Object... params)
    {
        return DataFactory.getInstance().getWord(key, params);
    }


}
